package com.tingyuge.base.design.mediator;

/**
 * 研发部门
 * @Created by xiaodao
 */
public class Development implements Deparment{


    private Mediator m;

    public Development(Mediator m) {
        this.m = m;
        m.register("development",this);
    }

    @Override
    public void selfAction() {
        System.out.println("专心开发项目");
    }

    @Override
    public void outAction() {

        System.out.println("汇报工作,,需要资金支持");
    }
}
